How To Find Duplicate String In Array List In Java[user Input]

How To Find Duplicate String In Array List In Java[user Input]